import 'package:flutter/material.dart';
class SlideRoute{
  Route createRoute(Widget widget) {
    return PageRouteBuilder(
        pageBuilder: (context, animation, secondaryAnimation) => widget,
        transitionsBuilder:(context, animation, secondaryAnimation, child) {
          return child;
        }
    );
  }
}